<?php

/**
 * Created by PhpStorm.
 * User: evan
 * Date: 16/9/7
 * Time: 下午2:13
 */
class Sign extends MY_Api_Controller
{
    /**
     * 用户签到
     */
    public function sign_in()
    {
        $uid = $this->uid;
        $sign_source = USER_SIGN_SOURCE_APP;


        $this->load->service('user/service_user_sign');
        $data = $this->service_user_sign->sign_in($uid, $sign_source);


        $this->json_output($data['data'], $data['status']);
    }
}